package com.xyht.sca_s.student_manage_system.modules.appDynamic.entity.resp;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author XYHT
 * @since 2023-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("app_basic_info")
@ApiModel(value="AppBasicInfo对象", description="")
public class AppBasicInfoResp implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "应用图标")
    private String appIcon;

    @ApiModelProperty(value = "应用名称")
    private String appName;

    @ApiModelProperty(value = "应用说明")
    private String appExplain;

    @ApiModelProperty(value = "应用管理员id集合")
    private String makerId;

    @ApiModelProperty(value = "应用管理员信息集合")
    private List<AppApplicationUserResp> makerUserInfoList;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "每人最大创建数量")
    private Integer everyoneMaxSubmission;

    @ApiModelProperty(value = "提交总量上限")
    private Integer maxSubmission;

    private UserInfoResp applyUserInfo;

    private String appFenLei;

    private String appType;

    private String appPath;

    private List<Integer> appClientList;

    private Integer appSwitch;

    private String appCateGory;


}